package com.pointstar.dp.modules.project.service;

import java.util.Map;

import com.pointstar.dp.common.entity.Page;
import com.pointstar.dp.common.entity.R;
import com.pointstar.dp.modules.project.entity.OutBoundEntity;
import com.pointstar.dp.modules.project.entity.dto.InOutBoundDTO;
import com.pointstar.dp.modules.project.entity.ro.SaveOutBoundRo;

/**
 * 出库主表
 * @author Korey<m13057531285@163.com>
 */
public interface OutBoundService {

    /**
     * 分页查询
     * @param params
     * @return
     */
	Page<OutBoundEntity> listOutBound(Map<String, Object> params);

    /**
     * 新增
     * @param outBound
     * @return
     */
	R saveOutBound(OutBoundEntity outBound);

    /**
     * 商品出库
     *
     * @param saveOutBoundRo
     * @return
     */
    R saveOutBoundAndDetails(SaveOutBoundRo saveOutBoundRo);

    /**
     * 根据id查询
     * @param id
     * @return
     */
	R getOutBoundById(Long id);

    /**
     * 修改
     * @param outBound
     * @return
     */
	R updateOutBound(OutBoundEntity outBound);

    /**
     * 删除
     * @param id
     * @return
     */
	R batchRemove(Long[] id);

    /**
     * 删除
     * @param id
     * @return
     */
    R batchRemoveLogic(Long[] id);

	
}
